package com.muyan.observable;

import com.muyan.observer.ObServer;

import java.util.Observable;

/**
 * @Author: YLTDMenglc
 * @Date: 2019/6/11
 * @Time: 12:28
 * @Description:
 */
public class MessageObServable extends Observable {

    @Override
    public void notifyObservers(Object arg) {
        // 修改状态为可以群发
        setChanged();
        super.notifyObservers(arg);
    }
}
